import request from '@/utils/request'
export function fetchUnitListApi(params: any = {}) {
	const { beginIndex, pageSize, ...filterInfo } = params;
	return request('/measureUnit/findUnit', {
		method: "POST",
		data: {
			filterInfo,
			node: "root",
			pageInfo: {}
		}
	})
}

export function findDomainApi(params: any = {}) {
	return request('/measureUnit/findDomain', {
		method: "POST",
		data: params
	})
}